ContentControl\Services\Restrictions S

Total Complexity 36
Dependencies 1
Dependents 1
Total lines 256
Lines of code 134
Logical lines of code 83
Comment lines 76
Methods 8
Properties 1

Methods 8

Method Rating Maintainability Complexity Lines of code
get_restriction()
A
53 10 25
get_cache_key()
S
54 6 21
get_restrictions()
S
50 5 29
get_applicable_restriction()
S
56 5 19
get_all_applicable_restrictions()
S
57 5 17
user_meets_requirements()
S
60 3 14
has_applicable_restrictions()
S
79 1 3
sort_restrictions_by_priority()
S
71 1 6